import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
import { SeqRewardHelper } from "./SeqRewardHelper";
type int = number;
//class SMedia
    
    export  class SMedia
    {
       

        public __write(arg1: SerializeStream): void
        {
            arg1.writeInt(this.type);
            SeqRewardHelper.write(arg1, this.rewards);
            return;
        }

        public __read(arg1: SerializeStream): void
        {
            this.type = arg1.readInt();
            this.rewards = SeqRewardHelper.read(arg1);
            return;
        }

        public /* var */type: int;

        public /* var */rewards: Array<any>;
    }
